home *** CD-ROM | disk | FTP | other *** search
/ Programming a Multiplayer FPS in DirectX / Programming a Multiplayer FPS in DirectX (Companion CD).iso / DirectX / dxsdk_oct2004.exe / dxsdk.exe / Samples / C++ / DirectSound / EnumDevices / enumdevices.rc < prev    next >
Encoding:
Text File  |  2004-09-27  |  3.9 KB  |  148 lines

  1. // Microsoft Visual C++ generated resource script.
  2. //
  3. #include "resource.h"
  4.  
  5. #define APSTUDIO_READONLY_SYMBOLS
  6. /////////////////////////////////////////////////////////////////////////////
  7. //
  8. // Generated from the TEXTINCLUDE 2 resource.
  9. //
  10. #include "afxres.h"
  11.  
  12. /////////////////////////////////////////////////////////////////////////////
  13. #undef APSTUDIO_READONLY_SYMBOLS
  14.  
  15. /////////////////////////////////////////////////////////////////////////////
  16. // English (U.S.) resources
  17.  
  18. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  19. #ifdef _WIN32
  20. LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
  21. #pragma code_page(1252)
  22. #endif //_WIN32
  23.  
  24. #ifdef APSTUDIO_INVOKED
  25. /////////////////////////////////////////////////////////////////////////////
  26. //
  27. // TEXTINCLUDE
  28. //
  29.  
  30. 1 TEXTINCLUDE 
  31. BEGIN
  32.     "resource.h\0"
  33. END
  34.  
  35. 2 TEXTINCLUDE 
  36. BEGIN
  37.     "#include ""afxres.h""\r\n"
  38.     "\0"
  39. END
  40.  
  41. 3 TEXTINCLUDE 
  42. BEGIN
  43.     "#define _AFX_NO_SPLITTER_RESOURCES\r\n"
  44.     "#define _AFX_NO_OLE_RESOURCES\r\n"
  45.     "#define _AFX_NO_TRACKER_RESOURCES\r\n"
  46.     "#define _AFX_NO_PROPERTY_RESOURCES\r\n"
  47.     "\r\n"
  48.     "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n"
  49.     "#ifdef _WIN32\r\n"
  50.     "LANGUAGE 9, 1\r\n"
  51.     "#pragma code_page(1252)\r\n"
  52.     "#endif\r\n"
  53.     "#include ""afxres.rc""         // Standard components\r\n"
  54.     "#endif\0"
  55. END
  56.  
  57. #endif    // APSTUDIO_INVOKED
  58.  
  59.  
  60. /////////////////////////////////////////////////////////////////////////////
  61. //
  62. // Icon
  63. //
  64.  
  65. // Icon with lowest ID value placed first to ensure application icon
  66. // remains consistent on all systems.
  67. IDR_MAINFRAME           ICON                    "..\..\Common\directx.ico"
  68.  
  69. /////////////////////////////////////////////////////////////////////////////
  70. //
  71. // Dialog
  72. //
  73.  
  74. IDD_MAIN DIALOGEX 0, 0, 211, 79
  75. STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | DS_CENTER | WS_POPUP | 
  76.     WS_CAPTION | WS_SYSMENU
  77. CAPTION "DirectSound EnumDevices"
  78. FONT 8, "MS Shell Dlg", 0, 0, 0x0
  79. BEGIN
  80.     LTEXT           "This sample simply demonstrates how to enumerate devices.",
  81.                     IDC_STATIC,7,7,190,8
  82.     LTEXT           "Sound Device:",IDC_STATIC,7,21,48,8
  83.     COMBOBOX        IDC_SOUND_DEVICE_COMBO,62,19,142,49,CBS_DROPDOWNLIST | 
  84.                     CBS_SORT | WS_VSCROLL | WS_TABSTOP
  85.     LTEXT           "Capture Device:",IDC_STATIC,7,40,52,8
  86.     COMBOBOX        IDC_CAPTURE_DEVICE_COMBO,62,38,142,49,CBS_DROPDOWNLIST | 
  87.                     CBS_SORT | WS_VSCROLL | WS_TABSTOP
  88.     DEFPUSHBUTTON   "&Create",IDC_CREATE,7,58,54,14
  89.     PUSHBUTTON      "E&xit",IDCANCEL,154,58,50,14
  90. END
  91.  
  92.  
  93. /////////////////////////////////////////////////////////////////////////////
  94. //
  95. // DESIGNINFO
  96. //
  97.  
  98. #ifdef APSTUDIO_INVOKED
  99. GUIDELINES DESIGNINFO 
  100. BEGIN
  101.     IDD_MAIN, DIALOG
  102.     BEGIN
  103.         LEFTMARGIN, 7
  104.         RIGHTMARGIN, 204
  105.         TOPMARGIN, 7
  106.         BOTTOMMARGIN, 72
  107.     END
  108. END
  109. #endif    // APSTUDIO_INVOKED
  110.  
  111.  
  112. /////////////////////////////////////////////////////////////////////////////
  113. //
  114. // Accelerator
  115. //
  116.  
  117. IDR_ACCELERATOR1 ACCELERATORS 
  118. BEGIN
  119.     "C",            IDC_CREATE,             VIRTKEY, ALT, NOINVERT
  120.     "X",            IDCANCEL,               VIRTKEY, ALT, NOINVERT
  121. END
  122.  
  123. #endif    // English (U.S.) resources
  124. /////////////////////////////////////////////////////////////////////////////
  125.  
  126.  
  127.  
  128. #ifndef APSTUDIO_INVOKED
  129. /////////////////////////////////////////////////////////////////////////////
  130. //
  131. // Generated from the TEXTINCLUDE 3 resource.
  132. //
  133. #define _AFX_NO_SPLITTER_RESOURCES
  134. #define _AFX_NO_OLE_RESOURCES
  135. #define _AFX_NO_TRACKER_RESOURCES
  136. #define _AFX_NO_PROPERTY_RESOURCES
  137.  
  138. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  139. #ifdef _WIN32
  140. LANGUAGE 9, 1
  141. #pragma code_page(1252)
  142. #endif
  143. #include "afxres.rc"         // Standard components
  144. #endif
  145. /////////////////////////////////////////////////////////////////////////////
  146. #endif    // not APSTUDIO_INVOKED
  147.  
  148.